package com.ize.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String openid;
    private String username;
    private String studentId;  // 对应student_id
    private String password;
    private String xueyuan;
    private String sex;
    private String shenfenId;  // 对应shenfen_id
    private String address;
    private String phone;
    private Integer high;
    private Integer weight;
    private String red;
    private String schoolAddress;  // 对应school_address
    private String image;
    private LocalDateTime createTime;  // 对应create_time
    private int state;
    private int age;
}
